//
//  QSNavigationBar.h
//  QSSmarkPark-iOS
//
//  Created by SJ on 2018/8/31.
//  Copyright © 2018年 QiSheng. All rights reserved.
//

#import <UIKit/UIKit.h>

typedef void(^LeftAction)(UIButton *leftButton);
typedef void(^RightAction)(UIButton *rightButton);

@interface QSNavigationBar : UIView

@property (nonatomic,strong) UIButton *leftBtn;
@property (nonatomic, copy) NSString *leftButtonTitle;
@property (nonatomic, strong) UIImage *leftButtonImage;
@property (nonatomic, strong) UIColor *titleColor;
@property (nonatomic, strong) UIColor *leftButtonTitleColor;

@property (nonatomic,strong) UIButton *rightBtn;
@property (nonatomic, copy) NSString *rightButtonTitle;
@property (nonatomic, strong) UIImage *rightButtonImage;
@property (nonatomic, strong) UIColor *rightButtonTitleColor;

@property (nonatomic, copy) NSString *title;

/** 背景 view -> backgroundView - > left right titlelabel  */
@property (nonatomic,strong) UIView *navBackgroundView;

@property (nonatomic, copy) LeftAction leftAction;
@property (nonatomic, copy) RightAction rightAction;

/** 普通导航栏 */
+ (instancetype)defaultNavgationBar;

@end
